<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<title>我的码台</title>
<link href="/IndexPublic/selfhelp/css/style.css" type="text/css" rel="stylesheet">
<script src="/IndexPublic/selfhelp/js/jquery-1.7.1.min.js" type="text/javascript"></script>
<style type="text/css">
.diy-btn a{float: left; width: 45%; margin-left: 3%;}
.diy-btn{padding: 10px 0px;}
</style>
</head>

<body>
	<div class="w">
		<div class="poplayer2">
			<div class="float-box2 unsuccess-style">
				<h4>您的内容不符合审核规定,请重新修改再提交。</h4>
			</div>
			<div class="float-box2 insuccess-style">
				<h4> 您好，您的视频正在审核。请耐心等待，我们将在24小时之内为您审核，如有疑问请联系我们客服人员。<br/>联系电话：010-67276996</h4>
			</div>
		</div>
		<div class="code-table">

			<volist name="list" id="v">
			<div class="code-list">
				<h4>{$v['title']}</h4>
				<div class="edit-box clearfix">
					<a href="{:U('Upload/editinfo',array('id'=>$v['id']))}" class="edit-alink" style="width: 22%;"><i class="diy my-diy">&#xe605;</i>编辑</a>
					<a href="/Selfhelp/id/{$v['id']}" class="watch-alink" style="width: 22%; padding-right: 10px;"><i class="diy my-diy" style="font-size: 20px;width: 16px;height: 16px;line-height: 16px;margin:0 10px">&#xe60b;</i>预览</a>
					<if condition="$v['status'] eq 1">
					<a class="review-alink insuccess-btn" style="width: 30%; padding-right: 10px;"><i class="diy my-diy">&#xe609;</i>正在审核</a>
					</if>
					<if condition="$v['status'] eq 3">
						<a class="review-alink unsuccess-btn" style="width: 30%; padding-right: 10px;color:#e61613"><i class="diy my-diy">&#xe621;</i>未通过审核</a>
					</if>
					<if condition="$v['status'] eq 2">
					<a href="{:U('codeimg',array('id'=>$v['id']))}" class="review-alink2" style="width: 30%; padding-right: 10px;"><i class="diy my-diy"><img src="/IndexPublic/selfhelp/img/ewm.png" width="18"></i>二维码</a>
					</if>
					<a href="{:U('deletema',array('id'=>$v['id']))}" class="review-alink2" style="width: 20%; color: #333;"><i class="diy my-diy">&#xe622;</i>删除</a>
				</div>
			</div>
			</volist>
			<div class="diy-btn" style="margin-bottom: 120px;">
				<a href="{:U('Upload/index')}">创建新码</a>
				<a href="{:U('Index/shouce')}" style="background-color: #ff9100;">使用手册</a>
			</div>
		</div>
		
	</div>

<!--固定footer-->
<div class="footer">
	<a class="hover"><i class="diy my-diy2">&#xe619;</i><br/>我的码台</a>
	<a href="{:U('review')}"><i class="diy my-diy2">&#xe61f;</i><br/>防伪追溯</a>
</div>
<script type="text/javascript">
	$(document).ready(function($) {
		$(".edit-box").each(function(index, element) {
            var t = $(this);
			t.find("a:last").css({"background":"none"});
        });
		$(".code-table").eq(0).show();
		$(".footer a").click(function(event) {
			$(this).addClass('hover').siblings('.footer a').removeClass('hover');
			$(".code-table").eq($(this).index()).show().siblings(".code-table").hide();
		});

		$(".float-box2").click(function(event){
				event.stopPropagation();
	    });
		$(".poplayer2").click(function(event){
			$(".float-box2").hide();
			$(this).hide();
			event.stopPropagation();		
		});

		$(".insuccess-btn").click(function(){
			$(".poplayer2").show();
			$(".insuccess-style").show();		
		});

		$(".unsuccess-btn").click(function(){
			$(".poplayer2").show();
			$(".unsuccess-style").show();		
		});

		$(".quxiao").click(function(){
			$(".poplayer2").hide();
			$(".messages-box").hide();		
		});

});
</script>
</body>
</html>
